<style>
body {
	background: #fbefe2;
}
ul.square {list-style-type:square}
.green {color:#09ba07}
.green-bg {background:#09ba07}
.fui-content{background:#fbefe2}
.fui-list-inner .vip {
	background: #09ba07 none repeat scroll 0 0;
    color: #fff;
    position: absolute;
    margin-left: 0.2rem;
    height: 0.75rem;
    width: 0.75rem;
    vertical-align: top;
    z-index: 100;
    line-height: 1.1;
    text-align: center;
    border-radius: 0.85rem;
}
.fui-cell.post-image { display: none}

.fui-list-media .r-icon{height:1.3rem;width:1.3rem;border-radius:100%;background:#09ba07}

.sns-post-detail-page .text-reply {
    padding:.2rem 0;color:red; color:#333; font-size:.75rem; word-break: break-all;
}
.sns-post-detail-page .text-time {
    color:red; color:#999; padding-top:.2rem;
}

.sns-post-detail-page .text-remark {
    font-size:.6rem;
}
.sns-post-detail-page .text-time .link { color: #999; }
.sns-post-detail-page .text-time .link .icon { font-size:.6rem;}
.sns-post-detail-page .text-time .link.selected { color: #1c84c6}
.sns-post-detail-page .text-parent {
    margin-left:.2rem;
    margin-top:.2rem;
    padding-bottom:.2rem;
}
.text-parent .org{color:#eb7350;}


.sns-post-detail-page .reply-list {

    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: start;
    height:auto;
}

.sns-post-detail-page .reply-avatar {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: start;
    height:auto;
}

.sns-post-detail-page .reply-avatar img {
    width:2rem;height:2rem;
    -webkit-border-radius:2rem;
    -moz-border-radius:2rem;
    border-radius:2rem;


}
.sns-post-detail-page .post-detail-avatar img {
    width:2.2rem;height:2.2rem;
    -webkit-border-radius:2.2rem;
    -moz-border-radius:2.2rem;
    border-radius:2.2rem;

}
.item-content {background-color: #fff;border-radius: 10px;padding:0.5rem;margin:0.5rem}
.item-buy-log {margin:0.2rem;padding: 0.5rem;background-color: #def9eb;border-radius: 10px;}
.item-line-nav {margin:0.2rem;padding: 0.1rem;background-color: #def9eb;border-radius: 10px;text-align:center;line-height:1.2rem}
.item-follow-line {border-bottom: 1px solid #ebebeb;color:#61bba7;font-size:0.56rem;padding-bottom:0.3rem}
.item-msg-line {font-size:0.56rem;padding-top:0.3rem}
</style>
<div class='fui-page  fui-page-current article-list-page' ng-if="pagedata.op=='list'">
	<div class="fui-header">
		<div class="title">{{pagedata.account.title}}</div>
		<div class="fui-header-right"></div>
	</div>
	<div ng-if="pagedata.setting.iscms !=1" class="fe-floatback right">
		<a href="javascript:void(0);" ng-click="goback()">
		<i class="icon jinyunicon icon-back"></i>
		</a>
	</div>
	<div class='fui-content' style="margin-bottom:2.5rem">
			<div class="fui-article-list template-2">
				<div class="fui-goods-group block">
						<div class="fui-tab-scroll" style="height: 4.2rem" ng-if="pagedata.groups">
							<div class="xcontainer weui_cells_radio3" style="z-index:0;height: 4.2rem;padding:0.3rem" >
								<label class="jyui_cell_member" style="width:50px" ng-repeat="item in pagedata.groups">
									<div class="userimg" href="javascript:" ng-click="access_json('jy_cmsarticle/video/detail/id='+item.id)">
										<img class="img-circle"  ng-src="{{tomedia(item.image) || '../core/resource/images/nopic.jpg'}}" width="50" height="50">
									</div>
									<div>
										<span style="font-size:0.3rem">{{item.title}}</span>
									</div>
								</label>
							</div>
						</div>
					   <div class="fui-picturew" style="padding: {paddingtop}px {paddingleft}px; background: {background};">
							<div ng-repeat="item in pagedata.list" class="item" href="javascript:" ng-click="access_json('jy_cmsarticle/video/detail/id='+item.id)">
								<div class="image" href="javascript:" ng-click="access_json('jy_cmsarticle/video/detail/id='+item.id)">
								<image src="{{tomedia(item.image)}}"  height="100%" width="100%" controls="" x5-playsinline="" playsinline="" webkit-playsinline="" poster="" preload="auto">
								</image>
								<div class="title" style="color: {titlecolor}; text-align: {titlealign};">{{item.title}}</div>
								
								</div>
								</div>
						</div>
				</div>
			</div>
	    <div class="fui-message fui-message-popup in content-empty" ng-show="!pagedata.list" style="margin-top: 0; position: relative; height: auto; background: none;">
				<div class="icon ">
					<i class="icon jinyunicon icon-information"></i>
				</div>
				<div class="content">未找到视频~</div>
		</div>
		
	</div>
</div>

<div class='fui-page  fui-page-current article-index-page' ng-if="pagedata.op=='detail'">
	<div class='fui-content' style="margin-bottom:2.5rem">
		<div class="fui-article-page">
			<div class="fui-article-title">{{pagedata.item.title}}</div>
			<div class="fui-article-subtitle"><a onclick="$('#followewm').modal();">{{pagedata.item.author || pagedata.account.title}}</a> <span class="r-f">发布时间: {{pagedata.item.date || pagedata.item.createtime}}</span></div>
			<!-- 关注提示 -->
				<div class="fui-list-group external" ng-if="pagedata.item.account==1" onclick="$('#followewm').modal();">
					<div class="fui-list">
						<div class="fui-list-media">
							<img class="round" src="{{tomedia(pagedata.account.logo) || '../core/resource/images/nopic.jpg'}}">
						</div>
						<div class="fui-list-inner">
							<div class="title">{{pagedata.account.title}}</div>
							<div class="subtitle">{{pagedata.account.desc}}</div>
						</div>
						<div class="fui-list-angle" style="width: 3rem; margin-right: 0;display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; flex-shrink: 0; flex-wrap: nowrap;">
							<div class="btn btn-sm btn-success" onclick="$('#followewm').modal();"><i class="fa fa-plus"></i> 关注</div>
						</div>
					</div>
				</div>
			<div class="fui-article-content" ng-bind-html="trust(pagedata.item.content)"></div>
			<div class="fui-article-subtitle">
				<div class="nav"><i class="fa fa-user"></i> {{pagedata.item.readnum}}</div>
				<div class="nav padding">
					<i class="fa fa-heart" style="color:red" ng-show="pagedata.like.clike==1" ng-click="pagedata.item.likenum=pagedata.item.likenum-1;pagedata.like.clike=0;post({'id':pagedata.like.id,'video_id':pagedata.item.id,'like':pagedata.like.clike},'like','','ignore')"></i>
					<i class="fa fa-heart" style="color:gree" ng-show="pagedata.like.clike!=1" ng-click="pagedata.item.likenum=pagedata.item.likenum+1;pagedata.like.clike=1;post({'id':pagedata.like.id,'video_id':pagedata.item.id,'like':pagedata.like.clike},'like','','ignore')"></i>
					<span>{{pagedata.item.likenum}}</span>
				</div>
			</div>
			
		</div>

		<div ng-show="pagedata.item.yingxiao==1 && pagedata.item.advs && pagedata.item.advs.length>0">
				<div class="fui-line title" ng-show="pagedata.item.adtitle">
					<div class="text" style="background-color:#f4f4f4">{{pagedata.item.adtitle}}</div>
				</div>
			<div class="swipe">
				<div class="inner">
					<div data-transition="500" class="fui-swipe">
						<div class="fui-swipe-wrapper">
							<a ng-repeat="ad in pagedata.item.advs" href="{{ad.url || 'javascript:;'}}" class="fui-swipe-item external">
									<img ng-src="{{tomedia(ad.img) || '../core/resource/images/nopic.jpg'}}">
							</a>
						</div>
						<div class='fui-swipe-page'></div>
					</div>
				</div>
			</div>
			
				<div class="fui-line subtitle link" ng-init="loubo()" ng-show="pagedata.item.admore">
					<a class="text external" href="{{pagedata.item.adurl || 'javascript:;'}}">{{pagedata.item.admore}}</a>
				</div>
		</div>
	</div>
	<div><video src="{{tomedia(pagedata.item.video)}}"  height="100%" width="100%" controls="" x5-playsinline="" playsinline="" webkit-playsinline="" poster="" preload="auto">
								</video></div>
		
				<div class="item-line-nav" ng-click="pagedata.setmsg(pagedata.item.id);" >
				<i class="icon icon-shuru"></i> <span class="subtitle">已有{{pagedata.item.msgnum || 0}}条留言，快来说说您的感想吧！</span>
			</div>
			<div class="fui-cell-group fui-comment-group">	
				<div class="fui-cell external reply-list" ng-repeat="item in pagedata.item.msg" style="padding:0.2rem 0;align-items:stretch;-webkit-align-items:stretch">
					<div class="fui-list-media" style="width:2.3rem;margin-left:0.2rem;text-align:center;">
						<a class="reply-avatar l-f" style="height:100%;">
							<div><img src="{{tomedia(item.member.avatar) || '../core/resource/images/gw-user.png'}}" class="round" style="height:2rem;width:2rem"></div>
							<div class="l-f bold" style="margin:0.2rem 0;width:100%;text-align:center;color:#000"></div>
							<div class="l-f" style="width:100%;text-align:center;font-size:0.56rem;color:#999"></div>
							<div class="l-f" style="width:100%;text-align:center;font-size:2rem;color:#999;line-height:0.6;margin-top:-1rem">.</div>
							<div class="l-f" style="width:2px;margin:0.3rem 1.05rem;font-size:2rem;color:#999;height:100%;border-left: 2px solid #ebebeb;"></div>
						</a>
					</div>
					<div class="fui-list-inner">
						<div class="text click">
							<span style="font-size:0.56rem;color:#999">{{item.member.nickname || '匿名'}}</span>
							<span class="pull-right" style="font-size:0.56rem;color:#666">{{item.createtime || '2019-01-22 09:46'}}</span>
							<span ng-if="row.isAuthor==1" class="level-label fui-label fui-label-warning level-label">楼主</span>
						</div>
						<div class="text text-reply click bold" style="padding:0.2rem">{{item.content}}</div>
						<div class="text text-time" style="height:1rem;margin:0.2rem">
							<div class="pull-right">
							
								<!--<a ng-click="access_json('/post.index/complain/id='+pagedata.post.id)" class="link link-complain-list" data-id="9">
									<i class="icon icon-warning" style="font-size:0.5rem;color:#999"></i> <span style="font-size:0.5rem;color:#999">投诉</span>
								</a>-->
								<a ng-if="pagedata.isManager==1 || pagedata.isSuperManager==1" href="javascript:;" class="link link-delete" style="font-size:0.5rem;color:#999"><i class="icon icon-delete" style="font-size:0.5rem;color:#999"></i> 删除</a>
							</div>
						</div>
						<div class="text text-parent" ng-if="item.msglike.length>0 || item.msg.length>0" style="padding:0.5rem;background-color: #f9f9f9;border-radius: 10px;">
							<div class="item-follow-line" ng-if="item.msglike.length>0">
								<span><i class="icon icon-favorites" style="font-size:0.56rem"></i></span><span ng-repeat="a in item.msglike"> {{a.member.nickname}}</span>
							</div>
							<div class="item-msg-line" ng-repeat="m in item.msg"><span class="org" style="color:#999;">{{m.member.nickname}}</span>: {{m.title}}</div>
						</div>
					</div>
				</div>
			</div>
</div>
	<div id="followewm"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="margin-bottom:216px">
				<div class="wap-qrcode-container">
					<button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
				<p class="example1">{{pagedata.account.title}}--智能全网平台！</p>
				<div class="wap-qrcode-image">
					<img ng-src="{{tomedia(pagedata.account.ewm) || '../core/resource/images/nopic.jpg'}}"/>
				</div>
				<p class="example1">长按二维码关注</p>
			</div>
			</div>
	</div>
	<div id="showremark" class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
	<div class="modal-dialog" style="width:100%;left:0;bottom:0">
		<div class="modal-bottom">
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">留言</div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-info c000">
						<textarea rows="5" placeholder="50字以内（选填）" ng-model="pagedata.post.msg"></textarea>
					</div>
				</div>
			</div>
			<div class="fui-navbar">
				<a aria-hidden="true" data-dismiss="modal" ng-click="post(pagedata.post,'setmsg')" class="nav-item btn btn-success confirmbtn">确定</a>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.pagedata.setmsg=function(id){
	$('#showremark').modal();
	scope.pagedata.post.id =id;
}
</script>